/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.rhythm.commons.net;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Date;
import java.util.Enumeration;
import javax.activation.DataHandler;
import javax.mail.Address;
import javax.mail.Flags;

import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipart;

/**
 *
 * @author jboyd
 */
class MockMessage extends Message {
    private String subject;

    
    
    public MockMessage()
    {
    }

    @Override
    public Address[] getFrom() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setFrom() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setFrom(Address arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void addFrom(Address[] arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Address[] getRecipients(RecipientType arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setRecipients(RecipientType arg0, Address[] arg1) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void addRecipients(RecipientType arg0, Address[] arg1) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String getSubject() throws MessagingException
    {
        return this.subject;
    }

    @Override
    public void setSubject(String arg0) throws MessagingException
    {
        this.subject = arg0;
    }

    @Override
    public Date getSentDate() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setSentDate(Date arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Date getReceivedDate() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Flags getFlags() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setFlags(Flags arg0, boolean arg1) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Message reply(boolean arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void saveChanges() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public int getSize() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public int getLineCount() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getContentType() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean isMimeType(String arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getDisposition() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setDisposition(String arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getDescription() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setDescription(String arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getFileName() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setFileName(String arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public InputStream getInputStream() throws IOException, MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public DataHandler getDataHandler() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Object getContent() throws IOException, MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setDataHandler(DataHandler arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setContent(Object arg0, String arg1) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setText(String arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setContent(Multipart arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void writeTo(OutputStream arg0) throws IOException, MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String[] getHeader(String arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setHeader(String arg0, String arg1) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void addHeader(String arg0, String arg1) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void removeHeader(String arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Enumeration getAllHeaders() throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Enumeration getMatchingHeaders(String[] arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Enumeration getNonMatchingHeaders(String[] arg0) throws MessagingException
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
